#!/usr/bin/sh

sh start.sh package
# mvn clean compile jar:jar dependency:copy-dependencies -DincludeScope=runtime
mvn dependency:copy-dependencies -DincludeArtifactIds=h2,mysql-connector-java,emoji-java,json
# mvn dependency:copy-dependencies -DincludeArtifactIds=solon-cache-jedis,redisx,jedis,commons-pool2
tar zcvf target/accounts.tgz start.sh target/accounts.jar target/dependency start.sh files/api.html files/spec.yaml
du -sh target/accounts.tgz
